package com.xyq.common.file.config;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "file.oss")
public class OSSProperties  {
    // oss需要的配置
    private String endpoint ;
    private String region ;
    // 验证
    private String accessKeyId ;
    private String accessKeySecret ;
    // 桶名字
    private String bucketName ;

    //路路径前缀 (目录), 在endPoint之后
    private String pathPrefix ;  // yqoj的目录

}
